package top.wsuo.factory;

import top.wsuo.service.BlogServer;
import top.wsuo.service.CommentServer;
import top.wsuo.service.MessageServer;
import top.wsuo.service.PictureServer;
import top.wsuo.service.UserServer;
import top.wsuo.service.impl.BlogServerImpl;
import top.wsuo.service.impl.CommentServerImpl;
import top.wsuo.service.impl.MessageServerImpl;
import top.wsuo.service.impl.PictureServerImpl;
import top.wsuo.service.impl.UserServerImpl;

public class ServiceFactory {
	public static UserServer createUserService() {
		return new UserServerImpl();
	}
	public static BlogServer createBlogService() {
		return new BlogServerImpl();
	}
	public static CommentServer createCommentServer() {
		return new CommentServerImpl();
	}
	public static PictureServer createPictureServer() {
		return new PictureServerImpl();
	}
	public static MessageServer createMessageServer() {
		return new MessageServerImpl();
	}
}